Skip to content

Conversation

@nedanwr
Copy link
Owner

@nedanwr nedanwr commented Jan 16, 2026

Description

This PR implements comprehensive audio processing operations for forgekit, adding support for audio conversion, normalization, trimming, joining, volume adjustment, and format detection. The implementation includes a new ffmpeg tool adapter, audio processing job specifications, and a complete CLI interface for audio operations. This completes the v0.0.7 milestone deliverables.

Type of Change

  • feat: New feature
  • fix: Bug fix
  • docs: Documentation only
  • refactor: Code refactoring (no behavior change)
  • perf: Performance improvement
  • test: Adding or updating tests
  • build: Build system or dependencies
  • ci: CI/workflow changes
  • chore: Maintenance tasks

Scope

  • cli - CLI commands and interface
  • core - Core library functionality
  • tools - Tool integrations (qpdf, ghostscript, etc.)
  • pdf - PDF-specific operations
  • packaging - Package configurations
  • Other:

Related Issues

Completes v0.0.7 milestone - Audio Operations

Checklist

  • I have read the commit convention
  • My commits follow the conventional format: type(scope): description
  • I have added/updated tests as appropriate
  • All tests pass locally (cargo test)
  • Code passes lint checks (cargo clippy and cargo fmt)
  • I have updated documentation if needed

Breaking Changes

  • This PR contains breaking changes

Screenshots / Output

New Audio Commands

Convert audio format

forgekit audio convert song.wav -t mp3 --bitrate 320

Normalize audio with EBU R128

forgekit audio normalize song.wav --target streaming

Extract audio from video

forgekit audio extract video.mp4 -t mp3 --bitrate 192

Trim audio segment

forgekit audio trim song.mp3 --start 0:30 --end 2:00 -o clip.mp3

Join multiple audio files

forgekit audio join intro.mp3 main.mp3 -o podcast.mp3

Adjust volume

forgekit audio volume quiet.wav --gain +6dB -o louder.wav

Convert to mono

forgekit audio mono stereo.wav

Get audio information

forgekit audio info song.mp3

…conversion, normalization, trimming, and more
@coderabbitai
Copy link

coderabbitai bot commented Jan 16, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@nedanwr nedanwr self-assigned this Jan 16, 2026
@nedanwr nedanwr merged commit ada0f7f into develop Jan 16, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants